package com.Iconcat.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author zzq
 * @since 2023-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Investment对象", description="")
public class Investment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "投资记录编号")
    @TableId(value = "investment_id", type = IdType.AUTO)
    private Integer investmentId;

    @ApiModelProperty(value = "用户编号")
    private Integer userId;

    @ApiModelProperty(value = "项目编号")
    private Integer projectId;

    @ApiModelProperty(value = "投资金额")
    private BigDecimal investmentAmount;

    @ApiModelProperty(value = "投资时间")
    private Date investmentTime;

    @ApiModelProperty(value = "投资状态（已投资、待审核等）")
    private String investmentStatus;

    @ApiModelProperty(value = "项目收益")
    private BigDecimal projectEarnings;
}
